<!DOCTYPE html>
<html>
<head>
    <title>证书查询登录 - 新丝路集团</title>
    <meta name="Keywords" content="中国小姐,世界小姐,世界小姐中国区,新丝路,新丝路时尚" />
    <meta name="description" content="中国小姐,世界小姐,世界小姐中国区,新丝路,新丝路时尚"/>
    <meta charset="utf-8" />
    <meta http-equiv="cache-control" content="no-cache, must-revalidate">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <link rel="stylesheet" type="text/css" href="{JS_PATH}nsrmodel/css/certificate_h5.css">
</head>
<body class="body-fullScreen-h5 fn_white_wrap" >
    <div class="certificate-wrap" id="compete-box">
        <div class="side side-3">
            <img class="ctfc-logo" src="{JS_PATH}nsrmodel/images/certificates/logo1.png" alt="nsr-logo">
            <h2 class="ctfc-title">新丝路模特证书查询</h2>
        </div>
        <div class="side side-4">
            <p class="row row1 bg1">
                <label class="search-icon"></label>
                <input class="ctfc-input fn_ctfc_input" type="text" name="number" id="number">
                <span class="ctfc-input-txt fn_ctfc_input_txt">输入证书编码或身份证号码即可查询</span>
            </p>
        </div>
        <!-- <p class="row row2">
            <input class="ctfc-input-num bg1" type="text">
            <img class="ctfc-v-code" src="images/certificate/pic1.jpg">
            <span class="ctfc-num-change">点击更换验证码</span>
        </p> -->
        <a class="ctfc-btn-search" onclick="submit_number();">查&nbsp;&nbsp;&nbsp;询</a>
        <p class="ctfc-warn-tip" id="ctfc-warn-tip" style="display:none;">未查询到此证书</p>
    </div>
<script src="{JS_PATH}nsrmodel/plugin/jquery-2.1.3/jquery.min.v2.1.3.js"></script>
<script src="{JS_PATH}nsrmodel/js/html_reset_1080.js"></script>
<script src="{JS_PATH}nsrmodel/js/certificate_h5.js"></script>
<script type="text/javascript">
    function submit_number () {
        var number = $('#number').val();
        if (!number) {
            $('#ctfc-warn-tip').html('请输入证书编码或身份证号码');
            $('#ctfc-warn-tip').show();
            return false;
        }
        $.ajax({
            type: "POST",
            url: "index.php?m=content&c=rjson&a=submit_number&type=app",
            cache: false,
            dataType:"json",
            data: {number:number},
            success: function(result){
                if (result.status == 200) {
                    $('#compete-box').addClass("certificate-inner");
                    $('#compete-box').removeClass("certificate-wrap");
                    $('#compete-box').html(result.res);
                } else {
                    $('#ctfc-warn-tip').html(result.res);
                    $('#ctfc-warn-tip').show();
                } 
            },
            error: function(){
              alert('请求服务器失败');
            }
        });
    }
</script>
</body>

